package com.example.capsule_kafka.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @Author: zhuzhiming
 * @Date: 2022/4/27 20:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageBean {

    private Integer id;
    private int msgId;
    private String field;
    private String senderId;
    private int localMsdId;
    private String senderName;
    private String receiverId;
    private int msgType = -1;    // 1.文字 2.图片 3.视频 4.文件 5.语音 6.好友申请
    private String content;
    private String createTime;
    private int status;
    private int actionType;
    private boolean isOneToOne;
    private String roomName;
    private String imei;
    private String bytes;
    private String fileName;
    private String sendTime;
    private String filePath;
    private String senderAvatarPath;
    private String fileSize;
    private int peopleChangeCount;
    private Msg msg;




}
